package lumis.service.report.control;

import org.w3c.dom.Node;

import lumis.portal.PortalException;
import lumis.portal.report.ReportType;

/**
 * Control that renders the configuration parameter controls.
 *
 * @version $Revision: 9285 $ $Date: 2008-05-14 17:36:34 -0300 (Wed, 14 May 2008) $
 * @since 4.1.0
 */
public class ConfigParametersControl extends BaseParametersControl
{
	protected Node getSourceNode(ReportType reportTypeConfig) throws PortalException
	{
		return reportTypeConfig.getConfigParametersSourceNode();
	}

	protected Node getControlsNode(ReportType reportTypeConfig) throws PortalException
	{
		return reportTypeConfig.getConfigParametersControlsNode();
	}
}
